﻿namespace WMS6.Web.BaseInfoDetailServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="PreallocateRuleDetailQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class PreallocateRuleDetailQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DescrField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string LineIDField;
        [OptionalField]
        private string PickCodeSqlField;
        [OptionalField]
        private string PreallocatePickCodeField;
        [OptionalField]
        private string PreallocateRuleIDField;
        [OptionalField]
        private string PreallocateStrategyField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string UomIDField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Descr
        {
            get
            {
                return this.DescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescrField, value))
                {
                    this.DescrField = value;
                    base.RaisePropertyChanged("Descr");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string LineID
        {
            get
            {
                return this.LineIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LineIDField, value))
                {
                    this.LineIDField = value;
                    base.RaisePropertyChanged("LineID");
                }
            }
        }

        [DataMember]
        public string PickCodeSql
        {
            get
            {
                return this.PickCodeSqlField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PickCodeSqlField, value))
                {
                    this.PickCodeSqlField = value;
                    base.RaisePropertyChanged("PickCodeSql");
                }
            }
        }

        [DataMember]
        public string PreallocatePickCode
        {
            get
            {
                return this.PreallocatePickCodeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PreallocatePickCodeField, value))
                {
                    this.PreallocatePickCodeField = value;
                    base.RaisePropertyChanged("PreallocatePickCode");
                }
            }
        }

        [DataMember]
        public string PreallocateRuleID
        {
            get
            {
                return this.PreallocateRuleIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PreallocateRuleIDField, value))
                {
                    this.PreallocateRuleIDField = value;
                    base.RaisePropertyChanged("PreallocateRuleID");
                }
            }
        }

        [DataMember]
        public string PreallocateStrategy
        {
            get
            {
                return this.PreallocateStrategyField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PreallocateStrategyField, value))
                {
                    this.PreallocateStrategyField = value;
                    base.RaisePropertyChanged("PreallocateStrategy");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string UomID
        {
            get
            {
                return this.UomIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UomIDField, value))
                {
                    this.UomIDField = value;
                    base.RaisePropertyChanged("UomID");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

